import axios from './config'

export default {
  getValidatePicture: () => axios({
    method: 'post',
    url: '/sms/customer/getCaptcha',
    responseType: 'arraybuffer'
  }),

  // login: (params) => axios({ method: 'post', url: '/sms/customer/login', params })
  login: (params) => axios.post('/sms/customer/login', params)

}  